# 判断字符串是不是回文字符串

def palindrome(s):
    return s == s[::-1]


inputStr = input('Input a string:')
print('%s is %sa palindrome' % (inputStr, '' if palindrome(inputStr) else 'not '))
